package com.zzyl.nursing.controller.member.serve;

import com.zzyl.common.core.controller.BaseController;
import com.zzyl.common.core.page.TableDataInfo;
import com.zzyl.serve.domain.NursingProject;
import com.zzyl.serve.service.INursingProjectService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * TODO
 *
 * @Date 2025/10/22/周三 21:51
 */
@RestController
@Slf4j
@RequestMapping("/member")
public class ServeController  extends BaseController {

    @Autowired
    private INursingProjectService  nursingProjectService;




    @GetMapping("/orders/project/page")
    public TableDataInfo<List<NursingProject>> page(NursingProject nursingProject){
        startPage();
        List<NursingProject> list = nursingProjectService.selectNursingProjectList(nursingProject);
        return getDataTable(list);
    }

}